 let Main03Child = function () {
     let _that = this;
     let _count = true;
     // 获取外层子元素盒子
     let floatMatchEl = $('.floatMatch');
     let nowPageEl = $('.now-page');
     let oldPageEl = floatMatchEl.find('.old-page');
     let ipPageEl = floatMatchEl.find('.ip-page');
     let ipCysj = ipPageEl.find('.cysj');
     let ipCysjRCont = ipCysj.find('.right-cont');
     let oldPageZnhlSwiper = new Swiper('.old-page .znhl-swiper', {
         autoHeight: true, //高度随内容变化
         observer: true,
         observeParents: true,
         pagination: '.old-page .znhl-swiper .swiper-pagination',
         paginationClickable: true,
     });
     let oldPageYxkfSwiper = new Swiper('.old-page .yxkf-swiper', {
         autoHeight: true, //高度随内容变化
         observer: true,
         observeParents: true,
         pagination: '.old-page .yxkf-swiper .swiper-pagination',
         paginationClickable: true,
     });
     let oldPageQnbjSwiper = new Swiper('.old-page .qnbj-swiper', {
         autoHeight: true, //高度随内容变化
         observer: true,
         observeParents: true,
         pagination: '.old-page .qnbj-swiper .swiper-pagination',
         paginationClickable: true,
     });
     let ipPageElYycySwiper = new Swiper('.ip-page .yycy-swiper', {
         scrollbar: '.yycy-swiper .swiper-scrollbar',
         direction: 'vertical',
         slidesPerView: 'auto',
         mousewheelControl: true,
         freeMode: true,
         roundLengths: true, //防止文字模糊
         autoHeight: true, //高度随内容变化
         observer: true,
         observeParents: true,
     });
     let ipPageElCysjSwiper = new Swiper('.ip-page .cysj .scroll-swiper', {
         scrollbar: '.ip-page .cysj .scroll-swiper .swiper-scrollbar',
         direction: 'vertical',
         slidesPerView: 'auto',
         mousewheelControl: true,
         freeMode: true,
         roundLengths: true, //防止文字模糊
         autoHeight: true, //高度随内容变化
         observer: true,
         observeParents: true,
     });
     // 顶部返回按钮
     let FMCback = floatMatchEl.find('.btn-back');
     let close = nowPageEl.find('.close');
     _that.init = function () {
         FMCback.on('click', function () {
             if (_count) {
                 _count = false;
                 _that.hide();
                 _count = true;
             }
         });
         let closeNowPage = function () {
             nowPageEl.removeClass('show');
         };
         nowPageEl.on('click', '.close', closeNowPage);
         let ipCysjElNav = function () {
             if (_count) {
                 _count = false;
                 let btnEl = $(this);
                 let btnName = btnEl.data('name');
                 $(this).addClass('active').siblings().removeClass('active');
                 ipCysjRCont.find(`.${btnName}`).addClass('show').siblings().removeClass('show');
                 _count = true;
             }
         };
         ipCysj.on('click', '.btn', ipCysjElNav);
     }
     _that.show = function () {
         floatMatchEl.addClass('show');
     };
     _that.hide = function () {
         floatMatchEl.removeClass('show');
     };
     _that.init();
 }
 module.exports = Main03Child;